﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace VAdvantageSvc
{
    
    [DataContract]
    public class ModelYTInfo
    {
            [DataMember]
            public int TotalResults { get; set; }
            [DataMember]
            public List<ModelYTEntryInfo> Entries { get; set; }
    }

    [DataContract]
    public class ModelYTEntryInfo
    {
        [DataMember]
        public string ID { get; set; }
        [DataMember]
        public string VideoID { get; set; }
        [DataMember]
        public string Title { get; set; }
        [DataMember]
        public string UploadedBy { get; set; }
        [DataMember]
        public string Category { get; set; }
        [DataMember]
        public string Description { get; set; }
        [DataMember]
        public double RatingAverage { get; set; }
        [DataMember]
        public int ViewCount { get; set; }
        [DataMember]
        public string Status { get; set; }
        [DataMember]
        public string ThumbnailImage { get; set; }
        [DataMember]
        public String Image
        { get; set; }
        [DataMember]
        public List<ModelYTMediaContent> Content { get; set; }
    }
    [DataContract]
    public class ModelYTMediaContent
    {
        [DataMember]
        public string Url { get; set; }
        [DataMember]
        public string Type { get; set; }
        [DataMember]
        public string Duration { get; set; }
    }
}
